package com.GroupSix.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class StudentVo {

    //主键
    @TableId(type = IdType.AUTO)
    private Long id;

    //学生姓名
    private String studentName;

    //学号
    private Integer studentId;

    //密码
    private String studentPassword;

    //班级
    private Long studentClass;

    //是否有效
    private Integer isActive;

    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    //最后修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    //当前页数
    private Integer curpage;

    //每页数据上限
    private Integer limit;
}
